IApi.DestroyAsync method

Closes the link to the KINGSTAR Subsystem and terminates the Subsystem as an asynchronous operation.

Namespace: IntervalZero.KINGSTAR.Base.Api

Assembly: IntervalZero.KINGSTAR.Base.Api (in IntervalZero.KINGSTAR.Base.dll) Version: 4.4.0.0

Syntax

C#VB
async Task<KsError> DestroyAsync()
Function DestroyAsync() As Task(Of KsError)

Return value

Type: Task<KsError>

Task: Represents an asynchronous operation.

KsError: A return code of a method.

Remarks

DestroyAsync closes the application’s link to the KINGSTAR Subsystem and if no process are connected, the Subsystem is stopped. This must be the last KINGSTAR method in an application.

Examples

C#
N/A

See also

IApi Interface

IntervalZero.KINGSTAR.Base.Api Namespace